import request from '@/utils/request'

// 查询微信用户支付记录列表
export function listPayLog(query) {
  return request({
    url: '/order/payLog/list',
    method: 'get',
    params: query
  })
}

// 查询微信用户支付记录详细
export function getPayLog(uuid) {
  return request({
    url: '/order/payLog/' + uuid,
    method: 'get'
  })
}

// 新增微信用户支付记录
export function addPayLog(data) {
  return request({
    url: '/order/payLog',
    method: 'post',
    data: data
  })
}

// 修改微信用户支付记录
export function updatePayLog(data) {
  return request({
    url: '/order/payLog',
    method: 'put',
    data: data
  })
}

// 删除微信用户支付记录
export function delPayLog(uuid) {
  return request({
    url: '/order/payLog/' + uuid,
    method: 'delete'
  })
}
